Skip to content

build: update to TypeScript 6#32899

Merged
crisbeto merged 1 commit intoangular:mainfrom
crisbeto:ts-6
Mar 6, 2026
Merged

build: update to TypeScript 6#32899
crisbeto merged 1 commit intoangular:mainfrom
crisbeto:ts-6

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Mar 6, 2026

Updates the repo to the TypeScript 6 beta in order to catch any breakages ahead of the final release.

@crisbeto crisbeto added the target: minor This PR is targeted for the next minor release label Mar 6, 2026
@pullapprove pullapprove bot requested review from ok7sai and tjshiu March 6, 2026 10:19
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Mar 6, 2026
@pullapprove pullapprove bot requested a review from devversion March 6, 2026 11:31
@crisbeto crisbeto force-pushed the ts-6 branch 3 times, most recently from 46b5481 to 74cc06f Compare March 6, 2026 11:42
},
"types": ["jasmine"],
"emitDecoratorMetadata": true,
"noUncheckedSideEffectImports": false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you know for what imports this was needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one: https://github.com/angular/components/blob/main/src/material-moment-adapter/adapter/moment-date-adapter.spec.ts#L19.

It became an error now, because TS are changing the defaults on some flags.

Updates the repo to the TypeScript 6 beta in order to catch any breakages ahead of the final release.
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Mar 6, 2026
@crisbeto crisbeto merged commit 23be683 into angular:main Mar 6, 2026
26 of 28 checks passed
@crisbeto
Copy link
Member Author

crisbeto commented Mar 6, 2026

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants